# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=py3-lupa
_pkgname=${pkgname#py3-}
pkgver=1.10
pkgrel=0
pkgdesc="Python wrapper around Lua and LuaJIT"
url="https://pypi.org/project/lupa/"
arch="all"
license="MIT"
makedepends="python3-dev"
depends="python3"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
options="!check" # no test suite
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
cd1f765dce685e683f9fdeb112b3ea0dc1eb6138c47af2fd64cd94cc2e553187fcfc45abedf2852867e306d3de4df0dc2ec907b9cb6e8a0a28c0d78a88adcc79  py3-lupa-1.10.tar.gz
"
